import type { ROLE } from "./role"

export interface LoginForm {
  username: string
  password: string
}

export interface USER {
  _id?: string
  password: string
  username: string
  name: string
  create_time?: number
  __v?: number
  role_id?: string
  role?: ROLE
}

export interface USERForm {
  username: string
  phone?: string
  name: string
  role_id?: string
}

export interface CHECKPWDFORM {
  userId: string
  password: string
}

// in keyof typeof
